package com.ruoyi.mdkt.mapper;

import com.ruoyi.mdkt.entity.Teacher;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.MapKey;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author gwl
 * @since 2022-10-22
 */
@Component
public interface TeacherMapper extends BaseMapper<Teacher> {
    @MapKey("id")
    Map<String, Object> getAllStudentToMap();

}
